import request from '@/utils/request'

// 查询执行计划教师列表
export function listPlanteacher(query) {
  return request({
    url: '/edu/planteacher/list',
    method: 'get',
    params: query
  })
}

// 查询执行计划教师详细
export function getPlanteacher(id) {
  return request({
    url: '/edu/planteacher/' + id,
    method: 'get'
  })
}

// 新增执行计划教师
export function addPlanteacher(data) {
  return request({
    url: '/edu/planteacher',
    method: 'post',
    data: data
  })
}

// 修改执行计划教师
export function updatePlanteacher(data) {
  return request({
    url: '/edu/planteacher',
    method: 'put',
    data: data
  })
}

// 删除执行计划教师
export function delPlanteacher(id) {
  return request({
    url: '/edu/planteacher/' + id,
    method: 'delete'
  })
}
